.class Lcom/estrongs/android/pop/app/PopAudioPlayer$f;
.super Ljava/lang/Object;
.source "PopAudioPlayer.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/PopAudioPlayer;->f(Ljava/util/List;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/PopAudioPlayer;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/PopAudioPlayer;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$f;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 6

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$f;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->P()Les/so;

    move-result-object p1

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return v0

    .line 2
    :cond_0
    iget-object v1, p1, Les/so;->b:Ljava/lang/String;

    .line 3
    new-instance v2, Lcom/estrongs/android/pop/app/PopAudioPlayer$f$a;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$f$a;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$f;Les/so;)V

    .line 4
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v3

    const/4 v4, 0x0

    if-eqz v3, :cond_1

    .line 5
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 6
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v3

    invoke-virtual {v3, v1}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v1

    invoke-interface {p1, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$f;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v1, p1, v4, v2}, Lcom/estrongs/android/pop/utils/p;->a(Les/sp;Ljava/util/List;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;)Z

    goto :goto_0

    .line 8
    :cond_1
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->a1(Ljava/lang/String;)Z

    move-result v3

    const/4 v5, 0x1

    if-eqz v3, :cond_2

    .line 9
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 10
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$f;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Les/so;)V

    return v5

    .line 12
    :cond_2
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object p1

    invoke-virtual {p1, v1}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p1

    if-nez p1, :cond_3

    return v5

    .line 13
    :cond_3
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 14
    invoke-interface {v1, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 15
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$f;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1, v1, v4, v2}, Lcom/estrongs/android/pop/utils/p;->a(Les/sp;Ljava/util/List;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;)Z

    :goto_0
    return v0
.end method
